package com.example.studentmanagement.entity;

public class Student {
    private String userid;
    private String pwd;
    private String name;
    private String pro;
    private String sex;

    public Student(String userid, String pwd, String name, String pro, String sex) {
        this.userid=userid;
        this.pwd=pwd;
        this.name=name;
        this.pro=pro;
        this.sex=sex;
    }
    public Student(String pwd, String name, String pro, String sex) {
        this.pwd=pwd;
        this.name=name;
        this.pro=pro;
        this.sex=sex;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPro() {
        return pro;
    }

    public void setPro(String pro) {
        this.pro = pro;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "userid='" + userid + '\'' +
                ", pwd='" + pwd + '\'' +
                ", name='" + name + '\'' +
                ", pro='" + pro + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}